<template>
  <a-modal
    :title="title"
    :width="width"
    :visible="visible"
    :confirmLoading="confirmLoading"
    :footer="null"
    @cancel="handleCancel"
    cancelText="关闭">
    <div>
      <div class="rowsDetail">
 <!--productOrdNo','unitNo','lhcsStartTime',-->
        <a-row>
          <a-col :span="3"  class="title">生产订单编号:</a-col>
          <a-col :span="5" >{{record.productOrdNo}}</a-col>
          <a-col :span="3" class="title">装置编号：</a-col>
          <a-col :span="5">{{record.unitNo}}</a-col>
          <a-col :span="3" class="title">开始时间：</a-col>
          <a-col :span="5" >{{record.lhcsStartTime}}</a-col>
        </a-row>
      </div>
      <!--'lhcsEndTime','lhcsLhwd','processRouteNo',-->
      <div class="rowsDetail">
        <a-row>
          <a-col :span="3" class="title">结束时间:</a-col>
          <a-col :span="5">{{record.lhcsEndTime}}</a-col>
          <a-col :span="3" class="title">高温老化温度:</a-col>
          <a-col :span="5">{{record.lhcsLhwd}}</a-col>
          <a-col :span="3" class="title">工艺编码:</a-col>
          <a-col :span="5">{{record.processRouteNo}}</a-col>
        </a-row>
      </div>
      <!--'ioflag','processType','supplierCode','updateTime'))-->

      <div class="rowsDetail">
        <a-row>
          <a-col :span="3" class="title">状态:</a-col>
          <a-col :span="5">{{record.ioflag}}</a-col>
          <a-col :span="3" class="title">工艺类型:</a-col>
          <a-col :span="5">{{record.processType}}</a-col>
          <a-col :span="3" class="title">供应商编码:</a-col>
          <a-col :span="5">{{record.supplierCode}}</a-col>
        </a-row>
      </div>
      <div class="rowsDetail">
        <a-row>
          <a-col :span="3" :style="detailTitle">检测时间:</a-col>
          <a-col :span="5">{{record.updateTime}}</a-col>
        </a-row>
      </div>

      <div style="text-align: center;margin-top: 10px"><a-button type="primary" @click="()=>this.visible = false">关闭</a-button></div>
    </div>
  </a-modal>
</template>

<script>

  import { httpAction } from '@/api/manage'
  import pick from 'lodash.pick'
  import JDate from '@/components/jeecg/JDate'  
  
  export default {
    name: "ZxjEip_2cLhcsModal",
    components: { 
      JDate,
    },
    data () {
      return {
        form: this.$form.createForm(this),
        title:"操作",
        width:800,
        visible: false,
        model: {},
        labelCol: {
          xs: { span: 24 },
          sm: { span: 5 },
        },
        wrapperCol: {
          xs: { span: 24 },
          sm: { span: 16 },
        },
      }
    },
    created () {
    },
    methods: {
      close () {
        this.$emit('close');
        this.visible = false;
      },
      handleCancel () {
        this.close()
      },
      addModal (record) {
        this.record=record;
        this.visible = true;
      },
    }
  }
</script>